<HTML><HEAD><TITLE>library(daVinci)</TITLE></HEAD><BODY>
[ <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]<H1>library(daVinci)</H1>
This library provides a simple interface to the daVinci graph drawing tool
<H2>Predicates</H2>
<BLOCKQUOTE>
<DL>
<DT><A HREF="daVinci_begin-0.html"><STRONG>daVinci_begin</STRONG></A></DT>
<DD>Start the connection to daVinci and begin the transfer of a new graph</DD>
<DT><A HREF="daVinci_draw_graph-1.html"><STRONG>daVinci_draw_graph(+Graph)</STRONG></A></DT>
<DD>Draw a graph in lib(graph_algorithms) format</DD>
<DT><A HREF="daVinci_edge-3.html"><STRONG>daVinci_edge(?Name, ?Node1, ?Node2)</STRONG></A></DT>
<DD>This command adds an edge between two nodes in the graph.</DD>
<DT><A HREF="daVinci_edge_attribute-3.html"><STRONG>daVinci_edge_attribute(?Name, ++Type, ++Value)</STRONG></A></DT>
<DD>Set an attribute for an edge in the graph</DD>
<DT><A HREF="daVinci_end-0.html"><STRONG>daVinci_end</STRONG></A></DT>
<DD>This commands ends the information about a graph and calls daVinci to draw it.</DD>
<DT><A HREF="daVinci_exit-0.html"><STRONG>daVinci_exit</STRONG></A></DT>
<DD>This commands closes the connection and exits daVinci.</DD>
<DT><A HREF="daVinci_node-1.html"><STRONG>daVinci_node(?Node)</STRONG></A></DT>
<DD>Define one node for the graph. The label of the node is equal to its name.</DD>
<DT><A HREF="daVinci_node-2.html"><STRONG>daVinci_node(?Node, ?Info)</STRONG></A></DT>
<DD>Defines a node in the graph. The label of the node can be different from the name.</DD>
<DT><A HREF="daVinci_node_attribute-3.html"><STRONG>daVinci_node_attribute(?Name, ++Type, ++Value)</STRONG></A></DT>
<DD>Set an attribute for a node in the graph</DD>
</DL>
</BLOCKQUOTE>
<H2>Description</H2>

This library provides a simple interface to the daVinci graph drawing
tool.  It allows to specify a graph with nodes, edges and their
attributes, and draws the graph inside the daVinci tool.  The
interface does not allow callbacks back from the daVinci system, nor
does it handle the customisation of the daVinci interface that is
possible.<p> The daVinci system is a graph drawing tool developed at
the University of Bremen in Germany and is freely available for
non-profit and internal use.  Please download the software from their
WEB site <a
href=http://www.informatik.uni-bremen.de/agbkb/forschung/daVinci/daVinci.html>daVinci
Home page</a> and register with the developers.  We do not provide the
executable as part of this library.<p> The communication between
Eclipse and daVinci is handled by a socket interface, where we
exchange text messages terminated by a line-feed.  In order to gain a
bit of flexibility in the interface, we use two string streams to
buffer information about edges and attributes.  The three streams used
for communication are called daVinciOut, daVinciEdge and
daVinciAttribute.  If the stream daVinciOut exists, we assume that the
daVinci server is running and that we can send information to it.  If
the stream does not exist, then we open the daVinci program in server
mode and connect the stream to the socket connection on the port
2542.<p> 
<H2>About</H2><UL COMPACT>
<LI><STRONG>Author: </STRONG>H. Simonis
<LI><STRONG>Date: </STRONG>$Date: 2009/02/19 06:09:22 $
</UL>
<HR>Generated from daVinci.eci on 2009-05-27 01:25
</BODY></HTML>
